package cn.egeek.babel.service;

import cn.egeek.babel.dao.UserDAO;
import cn.egeek.babel.entity.User;

public class UserService {
	UserDAO userDAO;
	
	public String addUser(User user) {
		userDAO.save(user);
		return "success";
	}

	public UserDAO getUserDAO() {
		return userDAO;
	}

	public void setUserDAO(UserDAO userDAO) {
		this.userDAO = userDAO;
	}
	
	

}
